<?php
/**
 * @ Fmash Top System
 * @ version: 3.0
 * @ author: i.coffee.smile@mail.com
 * @ date:2011-1-28
 * @ file:update_fav.php $33
 */
 
$hearts = how_many_fav($sid);
$update = "UPDATE `$top_man` SET `hearts` = '$hearts' WHERE `sid` = $sid ";
mysql_query($update);